package org.mango.dict.controller;

import org.mango.springboot.base.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by meigang on 2018/2/8.
 */
@Controller
@RequestMapping(value = "/")
public class MainController extends BaseController {

    @RequestMapping(value = "/index")
    public String index(Model model) {
        model.addAttribute("ctx", this.getCtx());
        return "index";
    }
}
